package com.zenith.edu.po.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zenith.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_class")
@Schema(name = "EduClass", description = "班级实体")
public class EduClass extends BaseEntity {
    
    @Schema(description = "所属专业ID")
    private Long majorId;
    
    @Schema(description = "班级名称")
    private String className;
    
    @Schema(description = "班级代码")
    private String classCode;
    
    @Schema(description = "入学年份")
    private Integer grade;
    
    @Schema(description = "班主任教师ID")
    private Long tutorId;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
}